package com.first.xiinn.service.impl;

import java.util.HashMap;
import java.util.List;

import com.first.core.service.impl.BaseServiceImpl;
import com.first.xiinn.dao.BookStatisticsDao;
import com.first.xiinn.model.BookStatistics;
import com.first.xiinn.service.BookStatisticsService;

public class BookStatisticsServiceImpl extends BaseServiceImpl<BookStatistics> implements BookStatisticsService{
	private BookStatisticsDao bookStatisticsDao;
	public BookStatisticsServiceImpl(BookStatisticsDao dao) {
		super(dao);
		this.bookStatisticsDao = dao;
	}
	/*
	 * (non-Javadoc)
	 * @see com.first.xiinn.service.BookStatisticsService#saveStatistics(com.first.xiinn.model.BookStatistics)
	 */
	public BookStatistics saveStatistics(BookStatistics statistics ){
		return this.bookStatisticsDao.saveStatistics(statistics);
	}
	/*
	 * (non-Javadoc)
	 * @see com.first.xiinn.service.BookStatisticsService#getStatistics(java.util.HashMap)
	 */
	@Override
	public List getStatisticsQuery(HashMap map) {
		return this.bookStatisticsDao.getStatisticsQuery(map);
	}
	


	
}
